/**
 * 管理员仓储
 */
package dms.repository;

import dms.model.role.DormSupervisor;
import dms.model.role.StudentAffairTeacher;
import dms.model.role.SystemAdministrator;
import dms.model.util.PageIterator;

/**
 * @author 李健
 *
 */
public interface SystemAdministratorRepository {
	
	PageIterator<StudentAffairTeacher> findAllStudentAffairTeacher(int start, int count);
	
	PageIterator<DormSupervisor> findAllDormSupervisor(int start, int count);
	
	StudentAffairTeacher findStudentAffairTeacherById(Long id);
	
	DormSupervisor findDormSupervisorById(Long id);
	
	SystemAdministrator findSystemAdministratorById(long id);
	
	PageIterator<SystemAdministrator> findAllSystemAdministrator(int start, int count);
	
	void createStduentAffairTeacher(StudentAffairTeacher studentAffairTeacherInfo);
	
	void updateStduentAffairTeacher(StudentAffairTeacher studentAffairTeacherInfo);
	
	void deleteStudentAffairTeacherById(Long id);
	
	void createDormSupervisor(DormSupervisor dormSupervisorInfo);
	
	void updateDormSupervisor(DormSupervisor dormSupervisorInfo);
	
	void deleteDormSupervisorById(Long id);
	
	void createSystemAdministrator(SystemAdministrator systemAdministrator);
	
	void updateSystemAdministrator(SystemAdministrator systemAdministrator);
	
	void deleteSystemAdministratorById(long id);
	
	
}
